package com.liyu.pojo;

/***
 * desc:User pojo 类
 * @author SLCcccc
 * @date. 2022/10/14 22:39
 * @version 1.0
 */
public class User {
    private String id;              // 账户id key
    private String password;        // 账户密码
    private String phone;        // 联系方式
    private String address;        // 地址
    private Integer root;        // 权限 0-普通用户 1-admin
    private String userName;        // 用户昵称
    private Integer illegal;        // 违规次数
    private Integer gender;         // 性别
    private String imagePath;       // 用户头像路径

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", root=" + root +
                ", userName='" + userName + '\'' +
                ", illegal=" + illegal +
                ", gender=" + gender +
                ", imagePath='" + imagePath + '\'' +
                '}';
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getRoot() {
        return root;
    }

    public void setRoot(Integer root) {
        this.root = root;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getIllegal() {
        return illegal;
    }

    public void setIllegal(Integer illegal) {
        this.illegal = illegal;
    }
}

